<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>TFPP 配置管理</title>
    <link type="text/css" href="css/index.css" rel="stylesheet">
    <script type="text/javascript" src="jquery/jquery-3.1.0.min.js"></script>
    <script type="text/javascript" src="js/indexModel.js" ></script>
    <script type="text/javascript" src="js/tableModel.js"></script>
    <script type="text/javascript" src="js/mainAttrListModel.js"></script>
    <script type="text/javascript" src="js/subAttrListModel.js"></script>
    <script type="text/javascript" src="js/editMainAttrModel.js"></script>
    <script type="text/javascript" src="js/editSubAttrModel.js"></script>
    <!--<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">-->
</head>
<body scroll="no">
<div id="outerContainer">
    <div id="leftPanel">
        <div id="leftTop"></div>
        <div>
            <ul id="attrEidt" style="cursor: pointer">
                <li><span id="mainAttrList" >属性列表</span></li>
                <li><span id="mainAttrEdit" >编辑主属性</span></li>
                <li><span id="subAttrList" >子属性列表</span></li>
                <li><span id="subAttrEdit" >编辑子属性</span></li>

            </ul>
        </div>

    </div>
    <div id="rightPanel">

        <div id="mainAttrListDetail" class="detail">
            <div class="boxDiv">
                <table class="table" id="mainAttr">
                    <thead>
                    <!--<span id="addMainAttr" align="right">添加</span>-->
                    <input type="button" value="添 加" id="addMainAttr" style="position:absolute; right: 180px;">
                    <tr style="display: none">
                        <td colspan="11" align="right" style="border-top:#ffffff solid 0px">
                        </td>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>

         <div id="mainAttrEditDetail" class="detail">
            &nbsp;
            <div class="boxDiv">
                <table class="tableDiv">
                    <form id="newMainAttr" method="post" action="">
                    <tr>
                        <input type="hidden" id="master_id" class="input1" value="-1"/>
                        <td class="tableDiv" >
                            属性名称:<input type="text" id="master_name" value="" class="input1">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td class="tableDiv">

                            显示名称:<input type="text" id="master_text" class="input1">
                        </td>
                    </tr>
                    <tr>
                        <td class="tableDiv" >
                            默&nbsp;认&nbsp;&nbsp;值:<input type="text"  id='default_value' class="input1" >&nbsp;&nbsp;&nbsp;
                        </td>
                        <td class="tableDiv">
                            属性长度:<input type="text" class="input1" id="length">&nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="tableDiv">
                        标&nbsp;&nbsp;&nbsp;&nbsp;签:<input id="tag" class="input1" type="text">
                        </td>

                        <td class="tableDiv">
                            所属厂商: <input id="vendor" class="input1" type="text">
                        </td >
                    </tr>

                         <td class="tableDiv">
                             类&nbsp;&nbsp;&nbsp;&nbsp;型:
                             <select id="type" class="input1">
                                 <option value="int">int</option>
                                 <option selected value="string">String</option>
                                 <option value="date">date</option>
                                 <option value="time">time</option>
                                 <option value="float">float</option>
                             </select>
                         </td>
                         <td class="tableDiv">
                             <input type="button" value="返回" class="input2" id="mainCancel">
                             &nbsp;&nbsp;&nbsp;&nbsp;
                             <input type="button" value="保存" class="input2" id="submitNewMainAttr">
                         </td>

                     </tr>

                    </form>
                </table>
                <!--<div id="backMain" class="back">返&nbsp;&nbsp;回</div>-->
            </div>
        </div>
        <div id="subAttrListDetail" class="detail">
            &nbsp;
            <div class="boxDiv">
                <table id="subAttr">
                    <input type="button" value="添加" id="addSubAttrBtn" class="input2" style="position: absolute;right: 200px;">
                <thead>
                <tr style="display: none">

                    <td colspan="7">
                    </td>
                </tr>
                </thead>
            </table>
                <div class="back" id="backMain2">返&nbsp;&nbsp;回</div>
            </div>
        </div>
        <div id="subAttrEditDetail" class="detail">
            &nbsp;
            <div class="boxDiv">
                <table class="tableDiv">
                <form id="newSubAttr">
                    <tr>
                        <td class="tableDiv">
                            <input value="-1" id="attr_id" class="subinput1" type="hidden">
                            属性名称:<input type="text" id="attr_name" class="subinput1">
                        </td>
                        <td class="tableDiv">
                            &nbsp;&nbsp;&nbsp;&nbsp;属性值:<input type="text" id="attr_value" class="subinput1">
                        </td>
                    </tr>
                    <tr>
                        <td class="tableDiv">
                            显示名称:<input type="text" id="attr_text" class="subinput1">
                        </td>
                        <td class="tableDiv">
                            &nbsp;&nbsp;&nbsp;&nbsp;主属性:<input id="parent_attr" disabled="disabled" class="subinput1" type="text">
                        </td>
                        <tfoot>
                        <tr>
                            <td class="tableDiv"></td>
                            <td class="tableDiv">
                                &nbsp;&nbsp;&nbsp;&nbsp; <input type="button" value="返回" class="input2" id="subCancel">
                                &nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="保存" class="input2" id="submitNewSubAttr">
                            </td>
                        </tr>
                        </tfoot>
                    </tr>
                </form>

            </table>
                <!--<div class="back" id="backSub">返&nbsp;&nbsp;回</div>-->
            </div>
        </div>
    </div>
</div>
</body>
</html>
